#ifndef RIVIARUNNABLE_H
#define RIVIARUNNABLE_H

#include <QObject>
#include <functional>
#include <QRunnable>

class RIVIARunnable : public QObject, public QRunnable
{
    Q_OBJECT

public:
    RIVIARunnable(std::function<void(void)> runEntry);
    ~RIVIARunnable();
protected:
    std::function<void(void)> m_function;
    virtual void run();
};

#endif // RIVIARUNNABLE_H
